<?php

?>

<div class="<?php print $classes; ?> swiper"<?php print $attributes; ?>>
  <?php if (!$label_hidden): ?>
    <div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>:&nbsp;</div>
  <?php endif; ?>
    <div class="swiper-container">
      <div class="field-items swiper-wrapper"<?php print $content_attributes; ?>>
        <?php foreach ($items as $delta => $item): ?>
          <div class="field-item field-item-<?php print $delta + 1?> <?php print $delta % 2 ? 'odd' : 'even'; ?> swiper-slide"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div>
        <?php endforeach; ?>
      </div>
    </div>
    <div class="swiper-control">
        <div class="slide-button next"></div>
        <div class="slide-button prev"></div>
    </div>
</div>
